
<?php defined('IS_ADMIN') && IS_ADMIN or exit('No permission resources.');?>
<?php include $this->admin_tpl('header', 'admin');?>
<style>
    .input-page{
        width: 50px;
    }
    body .table-list{
        width: 99%;
        margin: 10px auto!important;
    }
</style>
<div class="c-search" style="width: 100%;text-align: left;text-indent: 20px">
        <h3>搜索词：</h3>
</div>
<!--查询列表-->

<div class="table-list">
    <table width="100%">
        <thead>
        <tr>
            <th>ID</th>
            <th>关键词</th>
            <th>时间</th>
        </tr>
        </thead>
        <tbody>
        <?php
        foreach ($infos as $r) {?>
            <tr>
                <td>
                    <?php echo $r['id'] ?>
                </td>
                <td>
                    <?php echo $r['searchkey'] ?>
                </td>
                <td>
                    <?php echo date("Y-m-d H:i:s",$r['inputtime']) ?>
                </td>
            </tr>

        <?php } ?>
        </tbody>
    </table>
</div>
<div class="col-md-7 list-page"><?php echo $pages?></div>

</body>
</html>